package com.unohacha.qqj.fzdr.adapter;

import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.unohacha.qqj.fzdr.R;
import com.unohacha.qqj.fzdr.bean.MyImgListBean;

import java.util.List;

public class MyImgLibListAdapter extends BaseQuickAdapter<MyImgListBean, BaseViewHolder> {
    public MyImgLibListAdapter(List<MyImgListBean> data) {
        super(R.layout.item_my_img_lib__list, data);

    }

    @Override
    protected void convert(final BaseViewHolder helper, final MyImgListBean pubMatchData) {
        Glide.with(mContext).load(pubMatchData.getList_pic()).into((ImageView) helper.getView(R.id.store_pic));
        helper.setText(R.id.user_name_tv,pubMatchData.getName());

    }

}
